<template>
  <div class="list">
    <div class="item" v-for="(item, key) of cities" :key="item.id">
      {{ key }}
    </div>
  </div>
</template>
<script>
export default {
  name: "CityAlphabet",
  props: {
    cities: Object
  },
};
</script>
<style scoped>
.list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 143px;
  right: 0;
  bottom: 0;
  width: 20px;
}
.item {
  text-align: center;
  line-height: 22px;
  color: #00bcd4;
}
</style>